import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Components from '@/components/index.js'
import Plugins from './plugins'

import '@/mock/mockServe'

Vue.config.productionTip = false
Vue.use(Components) //全局组件
Vue.use(Plugins) //第三方库





new Vue({
  render: h => h(App),
  router,
  store,
  beforeCreate(){
    Vue.prototype.$bus=this
  },
  mounted(){

  }
}).$mount('#app')
